package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierDao {
    List<Supplier> selectSupplierList(@Param("supplierName") String supplierName);

    void updateById(@Param("supplier") Supplier supplier);

    void saveSupplier(@Param("supplier") Supplier supplier);

    void deleteByIds(@Param("ids") String[] ids);
}
